<?php echo $this->load->view($configs->clayout.'/admin/cabecalho'); ?>
<?php echo $this->load->view($configs->clayout.'/menu'); ?>
<div id="colTwo">
	<h2>Editar Menu</h2>
	
	<?php echo form_open('admin/menussave'); ?>
	<p>Titulo
	<?php echo $this->validation->titulo_error; ?>
	<?php echo form_input('titulo', $menu_edt->mtitulo).br(); ?>
	<script type="text/javascript">
	document.forms[0].titulo.focus();
	</script>
	</p>
	<p>Ordem
	<?php echo $this->validation->ordem_error; ?>
	<?php echo form_input('ordem', $menu_edt->mordem).br(); ?>
	</p>
	<?php echo form_hidden('acao','editar'); ?>
	<?php echo form_hidden('id', $menu_edt->idmenus); ?>
	<?php echo form_submit('salvar','Salvar'); ?>
	<input type="button" value="Voltar" onClick="javascript:history.go(-1)" >  
	<?php echo form_close(); ?>
	<?php //echo $this->validation->error_string; ?>
</div>
<?php //echo $this->load->view($configs->clayout.'/menudir'); ?>
<?php echo $this->load->view($configs->clayout.'/rodape'); ?>